from django.urls import path
from wms.views import *
from . import views
from rest_framework.routers import DefaultRouter

urlpatterns = [
    path('',index,name='index'),
    path('warehouse/list/',warehouses_list,name='warehouses_list'),
    path('warehouse/new/',warehouse_create,name='warehouse_create'),
    path('warehouse/edit/<int:pk>',warehouse_edit,name='warehouse_edit'),
    path('warehouse/delete/<int:pk>',warehouse_delete,name='warehouse_delete'),
]
# router = DefaultRouter()

# router.register('Maintenance', views.wh_Maintenance, basename='Maintenance')
# urlpatterns += router.urls
